package com.qxf.produce.dao;

import com.qxf.common.entities.Payment;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

/**
 * @author qxf101
 */
@Mapper
public interface PaymentDao {
    /**
     * add方法
     *
     * @param payment 实体类
     * @return add的条数
     */
    public int create(Payment payment);

    /**
     * 根据id获取实体信息
     *
     * @param id id
     * @return 实体信息
     */
    public Payment getPaymentById(@Param("id") Long id);
}
